package com.chen.spring.cloud.service.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chen.entity.OrderGoods;
import com.chen.spring.cloud.service.order.mapper.OrderGoodsMapper;
import com.chen.spring.cloud.service.order.service.IOrderGoodsService;
import com.chen.vo.OrderSubVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单下的产品信息表 服务实现类
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Service
public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGoods> implements IOrderGoodsService {

    @Autowired
    private OrderGoodsMapper orderGoodsMapper;

    @Override
    public OrderSubVo getSubInfo(int u_id, int o_id) {
        return orderGoodsMapper.getSubInfo(u_id,o_id);
    }
}
